﻿	      <?php include("conn.php");
             mysql_query('SET NAMES UTF8'); 

	  

class MyPrizeBean
{
	public $content;

	function __construct($content)
	{
		$this->content      = $content;
	}
}

$prize = array();

$rert30=mysql_query("select *from ad where id ='".$_REQUEST[adid]."'");

$rowf=mysql_fetch_array($rert30);

	
$prize[] = new MyPrizeBean($rowf[content]);



echo json_encode($prize);


?>